package com.itheima.service.mongo;

import com.itheima.domain.db.Video;
import com.itheima.vo.PageBeanVo;

/**
 * @author zsk
 * @create 2022-03-23-15:53
 */
public interface VideoService {

    //分页查询小视频列表
    PageBeanVo findVideoByPage(Long userId,Integer pageNum,Integer pageSize);

    //发布视频
    void saveVideo(Video video);

    //分页查询自己发布的视频
    PageBeanVo findByUserVideos(Long userId, Integer pageNum, Integer pageSize);
}
